Attribute list used in IMessage and IStreamAttributes. More...
#include <ivstattributes.h>
Public Types | |
typedef const char * | AttrID |
Public Member Functions | |
virtual tresult | setInt (AttrID id, int64 value)=0 |
Sets integer value. | |
virtual tresult | getInt (AttrID id, int64 &value)=0 |
Gets integer value. | |
virtual tresult | setFloat (AttrID id, double value)=0 |
Sets float value. | |
virtual tresult | getFloat (AttrID id, double &value)=0 |
Gets float value. | |
virtual tresult | setString (AttrID id, const TChar *string)=0 |
Sets string value (UTF16). | |
virtual tresult | getString (AttrID id, TChar *string, uint32 size)=0 |
Gets string value (UTF16). | |
virtual tresult | setBinary (AttrID id, const void *data, uint32 size)=0 |
Sets binary data. | |
virtual tresult | getBinary (AttrID id, const void *&data, uint32 &size)=0 |
Gets binary data. | |
Static Public Attributes | |
static const FUID | iid |
Attribute list used in IMessage and IStreamAttributes.
An attribute list associates values with a key (id: some predefined keys could be found in Predefined Preset Attributes).
Sets string value (UTF16).
Gets string value (UTF16).
Note that Size is in Byte, not the string Length! (Do not forget to multiply the length by sizeof (TChar)!)
Sets binary data.
Gets binary data.